.class Lcom/waiqin365/lightapp/kehu/view/n;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/view/n;->a:Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/n;->a:Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;->a(Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/n;->a:Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;->b(Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/n;->a:Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;->c(Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;)Ljava/util/List;

    move-result-object v1

    invoke-interface {v1, v0}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/n;->a:Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;->d(Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;)Landroid/widget/LinearLayout;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->removeViewAt(I)V

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/n;->a:Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;->c(Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/n;->a:Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;->c(Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/n;->a:Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;->i()V

    return-void
.end method
